package com.summer.system.repository;

import com.summer.system.dto.SystemPositionQueryDTO;
import com.summer.system.entity.SystemPosition;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/*
 * 岗位 repository
 * @author Likasi
 */
public interface SystemPositionRepository extends CrudRepository<SystemPosition,Long> {


    List<SystemPosition> pagePosition(SystemPositionQueryDTO systemPositionQueryDTO, Pageable pageable);

    Long pagePositionCount(SystemPositionQueryDTO systemPositionQueryDTO);

}
